cgroupfs-mount: remove package
authorWesley Gimenes <[email protected]>
Tue, 5 Aug 2025 18:34:32 +0000 (15:34 -0300)
committerWesley Gimenes <[email protected]>
Wed, 10 Sep 2025 22:11:48 +0000 (19:11 -0300)
A user opened an issue[1] in the upstream repository to migrate
the package from GitHub to Debian Salsa, but the upstream response[2]
was as follows:

> If any work happens on this package, it should be to deprecate and remove
> it, not migrate it (that's a waste of effort).

[1] https://github.com/tianon/cgroupfs-mount/issues/24
[2] https://github.com/tianon/cgroupfs-mount/issues/24#issuecomment-2663677115

Signed-off-by: Wesley Gimenes <[email protected]>
utils/cgroupfs-mount/Makefile [deleted file]
utils/cgroupfs-mount/files/cgroupfs-mount.init [deleted file]

diff --git a/utils/cgroupfs-mount/Makefile b/utils/cgroupfs-mount/Makefile
deleted file mode 100644 (file)
index 678130e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=cgroupfs-mount
-PKG_RELEASE:=2
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/tianon/$(PKG_NAME)
-PKG_SOURCE_VERSION:=0549428171605eae3097a3e21bf7664845eac9e8
-PKG_SOURCE_DATE:=2020-06-26
-PKG_MIRROR_HASH:=cd8518bfd3180a448ab253972b23f34118caafd229ba895dd80688326e9cd96d
-
-PKG_MAINTAINER:=Gerard Ryan <[email protected]>
-PKG_CPE_ID:=cpe:/a:cgroupfs-mount_project:cgroupfs-mount
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/cgroupfs-mount/config
-       config CGROUPFS_MOUNT_KERNEL_CGROUPS
-               bool "Enable kernel cgroups support"
-               depends on PACKAGE_cgroupfs-mount
-               default y if ( DOCKER_KERNEL_OPTIONS || LXC_KERNEL_OPTIONS )
-               select KERNEL_CGROUPS
-endef
-
-define Package/cgroupfs-mount
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=cgroup mount scripts
-  DEPENDS:=+mount-utils
-  MENU:=1
-endef
-
-define Package/cgroupfs-mount/description
-Simple scripts to properly mount the cgroupfs hierarchy, especially structured for Debian packaging
-endef
-
-Build/Compile=# Nothing to compile, just install the scripts
-
-define Package/cgroupfs-mount/install
-       $(INSTALL_DIR) $(1)/usr/bin/
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/cgroupfs-mount $(1)/usr/bin/
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/cgroupfs-umount $(1)/usr/bin/
-
-       $(INSTALL_DIR) $(1)/etc/init.d
-       $(INSTALL_BIN) ./files/cgroupfs-mount.init $(1)/etc/init.d/cgroupfs-mount
-endef
-
-$(eval $(call BuildPackage,cgroupfs-mount))
diff --git a/utils/cgroupfs-mount/files/cgroupfs-mount.init b/utils/cgroupfs-mount/files/cgroupfs-mount.init
deleted file mode 100755 (executable)
index 0d6b68d..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh /etc/rc.common
-
-START=01
-
-boot() {
-       # Procd mounts non-hierarchical cgroupfs so unmount first before cgroupfs-mount
-       if mountpoint -q /sys/fs/cgroup; then
-               umount /sys/fs/cgroup/
-       fi
-
-       cgroupfs-mount
-}